package com.wfcm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.wfcm.dao.WfShareDao;
import com.wfcm.entity.WfShareEntity;
import com.wfcm.service.WfShareService;


@Service("wfShareService")
public class WfShareServiceImpl implements WfShareService {
	@Autowired
	private WfShareDao wfShareDao;
	
	@Override
	public WfShareEntity queryObject(Map<String, Object> map){
		return wfShareDao.queryObject(map);
	}
	
	@Override
	public List<WfShareEntity> queryList(Map<String, Object> map){
		return wfShareDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return wfShareDao.queryTotal(map);
	}
	
	@Override
	public void save(WfShareEntity wfShare){
		wfShareDao.save(wfShare);
	}
	
	@Override
	public void update(WfShareEntity wfShare){
		wfShareDao.update(wfShare);
	}
	
	@Override
	public void delete(Integer id){
		wfShareDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		wfShareDao.deleteBatch(ids);
	}
	
}
